const Mock = require('mockjs')

module.exports = function generateMocks () {
  return {
    'GET /admin/brand/list': Mock.mock({
      code: 0,
      msg: '@string("lower", 0)',
      'data|1-10': [
        {
          distributorId: '@guid',
          distributorName: '@cword(3,6)',
          region: '@city(true)'
        }
      ]
    })
  }
}
